#include        <Element.d/Sommerfeld.d/Triangle6SommerBC.h>

double Triangle6SommerBC::tri6_coord[12][2] = {
{0.873821971016996,0.063089014491502},
{0.063089014491502,0.873821971016996},
{0.063089014491502,0.063089014491502},
{0.501426509658179,0.249286745170910},
{0.249286745170910,0.501426509658179},
{0.249286745170910,0.249286745170910},
{0.636502499121399,0.310352451033785},
{0.636502499121399,0.053145049844816},
{0.310352451033785,0.636502499121399},
{0.310352451033785,0.053145049844816},
{0.053145049844816,0.636502499121399},
{0.053145049844816,0.310352451033785}
};

double Triangle6SommerBC::tri6_weights[12] = {
 0.050844906370207, 0.050844906370207, 0.050844906370207,
 0.116786275726379, 0.116786275726379, 0.116786275726379,
 0.082851075618374, 0.082851075618374, 0.082851075618374,
 0.082851075618374, 0.082851075618374, 0.082851075618374
};


double Triangle6SommerBC::tri6_values[12][6] = 
{ 
{ 
0.6533077030470595, 
-0.055128566992484106, 
-0.055128566992484106, 
0.22051426796993642, 
0.0159208949980358, 
0.22051426796993642, 
},
{ 
-0.055128566992484106, 
0.6533077030470595, 
-0.055128566992484154, 
0.22051426796993642, 
0.22051426796993662, 
0.015920894998035815, 
},
{ 
-0.055128566992484106, 
-0.055128566992484106, 
0.6533077030470597, 
0.0159208949980358, 
0.22051426796993645, 
0.22051426796993645, 
},
{ 
0.0014305795177887877, 
-0.12499898253509757, 
-0.12499898253509754, 
0.4999959301403893, 
0.24857552527162585, 
0.4999959301403912, 
},
{ 
-0.12499898253509757, 
0.0014305795177887877, 
-0.12499898253509756, 
0.4999959301403893, 
0.49999593014039123, 
0.24857552527162588, 
},
{ 
-0.12499898253509757, 
-0.12499898253509757, 
0.0014305795177897648, 
0.2485755252716249, 
0.4999959301403903, 
0.4999959301403903, 
},
{ 
0.17376836365417409, 
-0.11771516330842917, 
-0.04749625719880004, 
0.7901604427658231, 
0.06597478591860528, 
0.1353078281686268, 
},
{ 
0.17376836365417409, 
-0.047496257198800046, 
-0.11771516330842917, 
0.13530782816862683, 
0.06597478591860528, 
0.7901604427658231, 
},
{ 
-0.11771516330842917, 
0.17376836365417409, 
-0.047496257198800095, 
0.7901604427658231, 
0.13530782816862694, 
0.06597478591860535, 
},
{ 
-0.11771516330842917, 
-0.047496257198800046, 
0.17376836365417409, 
0.06597478591860528, 
0.13530782816862683, 
0.7901604427658231, 
},
{ 
-0.047496257198800046, 
0.17376836365417409, 
-0.11771516330842914, 
0.13530782816862683, 
0.7901604427658229, 
0.06597478591860527, 
},
{ 
-0.047496257198800046, 
-0.11771516330842917, 
0.17376836365417409, 
0.06597478591860528, 
0.7901604427658231, 
0.13530782816862683, 
}
 };


double Triangle6SommerBC::tri6_derivatives[12][6][2] = 
{ 
{ 
{ 2.495287884067984, 0},
{ 0, -0.747643942033992},
{ 0.747643942033992, 0.747643942033992},
{ 0.252356057966008, 3.495287884067984},
{ -0.252356057966008, 0.},
{ -3.2429318261019757, -3.495287884067984}
},
{ 
{ -0.747643942033992, 0},
{ 0, 2.495287884067984},
{ 0.747643942033992, 0.747643942033992},
{ 3.495287884067984, 0.252356057966008},
{ -3.495287884067984, -3.2429318261019757},
{ 0, -0.252356057966008}
},
{ 
{ -0.747643942033992, 0},
{ 0, -0.747643942033992},
{ -2.4952878840679844, -2.4952878840679844},
{ 0.252356057966008, 0.252356057966008},
{ -0.252356057966008, 3.2429318261019766},
{ 3.2429318261019766, -0.252356057966008}
},
{ 
{ 1.0057060386327161, 0},
{ 0, -0.0028530193163599504},
{ 0.0028530193163561757, 0.0028530193163561757},
{ 0.99714698068364, 2.005706038632716},
{ -0.99714698068364, 0},
{ -1.0085590579490722, -2.005706038632716}
},
{ 
{ -0.0028530193163599504, 0},
{ 0, 1.0057060386327161},
{ 0.0028530193163560646, 0.0028530193163560646},
{ 2.005706038632716, 0.99714698068364},
{ -2.005706038632716, -1.0085590579490722},
{ 0, -0.99714698068364}
},
{ 
{ -0.0028530193163599504, 0},
{ 0, -0.0028530193163599504},
{ -1.0057060386327201, -1.0057060386327201},
{ 0.99714698068364, 0.99714698068364},
{ -0.99714698068364, 1.0085590579490802},
{ 1.0085590579490802, -0.99714698068364}
},
{ 
{ 1.546009996485596, 0},
{ 0, 0.24140980413514002},
{ 0.787419800620736, 0.787419800620736},
{ 1.24140980413514, 2.546009996485596},
{ -1.24140980413514, -1.028829604755876},
{ -2.333429797106332, -2.546009996485596}
},
{ 
{ 1.546009996485596, 0},
{ 0, -0.787419800620736},
{ -0.24140980413514002, -0.24140980413514002},
{ 0.212580199379264, 2.546009996485596},
{ -0.212580199379264, 1.028829604755876},
{ -1.304600192350456, -2.546009996485596}
},
{ 
{ 0.24140980413514002, 0},
{ 0, 1.546009996485596},
{ 0.7874198006207359, 0.7874198006207359},
{ 2.546009996485596, 1.24140980413514},
{ -2.546009996485596, -2.333429797106332},
{ -1.0288296047558758, -1.24140980413514}
},
{ 
{ 0.24140980413514002, 0},
{ 0, -0.787419800620736},
{ -1.546009996485596, -1.546009996485596},
{ 0.212580199379264, 1.24140980413514},
{ -0.212580199379264, 2.333429797106332},
{ 1.304600192350456, -1.24140980413514}
},
{ 
{ -0.787419800620736, 0},
{ 0, 1.546009996485596},
{ -0.2414098041351398, -0.2414098041351398},
{ 2.546009996485596, 0.212580199379264},
{ -2.546009996485596, -1.3046001923504562},
{ 1.0288296047558758, -0.212580199379264}
},
{ 
{ -0.787419800620736, 0},
{ 0, 0.24140980413514002},
{ -1.546009996485596, -1.546009996485596},
{ 1.24140980413514, 0.212580199379264},
{ -1.24140980413514, 1.304600192350456},
{ 2.333429797106332, -0.212580199379264}
}
 };


double Triangle6SommerBC::tri3_values[12][3] = 
{ 
{ 
0.873821971016996, 
0.063089014491502, 
0.063089014491502
},
{ 
0.063089014491502, 
0.873821971016996, 
0.06308901449150206
},
{ 
0.063089014491502, 
0.063089014491502, 
0.8738219710169961 
},
{ 
0.501426509658179, 
0.24928674517091, 
0.24928674517091096
},
{ 
0.24928674517091, 
0.501426509658179, 
0.24928674517091098
},
{ 
0.24928674517091, 
0.24928674517091, 
0.50142650965818
},
{ 
0.636502499121399, 
0.310352451033785, 
0.053145049844815995
},
{ 
0.636502499121399, 
0.053145049844816, 
0.310352451033785
},
{ 
0.310352451033785, 
0.636502499121399, 
0.05314504984481605
},
{ 
0.310352451033785, 
0.053145049844816, 
0.636502499121399
},
{ 
0.053145049844816, 
0.636502499121399, 
0.31035245103378495
},
{ 
0.053145049844816, 
0.310352451033785, 
0.636502499121399
},
 };
